import axios from '@/libs/request/axios'
// 分页获取日志数据
export const getLogListData = (params) => {
    return axios.request({
        url: '/admin/log/getAllByPage',
        params: params,
        method: 'get'
    })
}

// 删除日志
export const deleteLog = (ids, params) => {
    return axios.request({
        url: `/admin/log/delByIds/${ids}`,
        params: params,
        method: 'delete'
    })
}
// 清空日志
export const deleteAllLog = (params) => {
    return axios.request({
        url: '/admin/log/delAll',
        params: params,
        method: 'delete'
    })
}
